package net.yeah.mickey_zhouyou.database.util.string_policy;

import java.util.Date;

public class DateToStringPolicy implements IObjectToStringPolicy {

	@Override
	public String convert(Object data) {
		if (data == null)
			return "";
		return String.valueOf(Date.class.cast(data).getTime());

	}

}
